package com.edu.his.service.impl;

import com.edu.his.domain.Employee;
import com.edu.his.util.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.edu.his.mapper.EmployeeMapper;
import com.edu.his.service.EmployeeService;
/**
 * 描述：
 * 创建人：飘
 * 创建时间：2024/12/16
 **/
@Service
public class EmployeeServiceImpl implements EmployeeService{

    @Autowired
    private EmployeeMapper employeeMapper;

    @Override
    public R login(Employee employee) {
        Employee emp=this.employeeMapper.login(employee);
        return R.success(200,"查询成功",emp);
    }
}
